package com.jersey;

public enum ResponseMessage {
	Success(0, null),
	NotFound(404, "Resource Not Found"),
	SyntaxError(800, "No Query Parameter");
	
	private int code;
	private String errorMessage;
	private ResponseMessage(int code, String errorMessage) {
		this.code = code;
		this.errorMessage = errorMessage;
	}
	public int getCode() {
		return code;
	}
	public String getErrorMessage() {
		return errorMessage;
	}
	
}
